package com.netease.course.login.service.Impl;

import com.netease.course.login.dao.UserDao;
import com.netease.course.login.meta.User;
import com.netease.course.login.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by yanfa on 2016/10/30.
 */
@Service
public class UserServiceImpl implements UserService{

    @Autowired
    UserDao userDao;


    public User findOne(String userId, String password) {
        return this.userDao.findOne(userId,password);
    }
}
